package com.chat.api.web.dao;

import com.chat.api.common.BaseRepo;
import com.chat.api.web.po.BlogGroupBean;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BlogGroupRepo extends BaseRepo<BlogGroupBean,Long> {

    @Query(value = "select * from blog_group",nativeQuery = true)
    List<BlogGroupBean> findAllName();
}
